package com.apobates.jforum2.troll.forum.stub.vo;

import java.io.Serializable;

/**
 * 全站的话题/回复统计
 */
public class BoardStatsCollectVo implements Serializable{
    //所有话题合计总数
    private long threads;
    //所有回复合计总数
    private long replies;
    //统计的周期
    private String statsCycle;

    public BoardStatsCollectVo() {
    }

    public long getThreads() {
        return threads;
    }

    public void setThreads(long threads) {
        this.threads = threads;
    }

    public long getReplies() {
        return replies;
    }

    public void setReplies(long replies) {
        this.replies = replies;
    }

    public String getStatsCycle() {
        return statsCycle;
    }

    public void setStatsCycle(String statsCycle) {
        this.statsCycle = statsCycle;
    }
    
    public static BoardStatsCollectVo empty(String statsCycle){
        BoardStatsCollectVo ins = new BoardStatsCollectVo();
        ins.setStatsCycle(statsCycle);
        return ins;
    }
}